package com.zch.service;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zch.dao.TechnologymessageMapper;
import com.zch.dao.model.Technologymessage;
import com.zch.dao.model.TechnologymessageExample;
import com.zch.daoEx.TechnologymessageMapperEx;
import com.zch.daoEx.model.TechnologymessageEx;

@Service
public class TechnologymessageService {
	@Autowired
	private TechnologymessageMapper technologymessageMapper;
	
   @Autowired
    private TechnologymessageMapperEx technologymessageMapperEx;

	public int countByExample(TechnologymessageExample example) {
		return this.technologymessageMapper.countByExample(example);
	}

	public Technologymessage selectByPrimaryKey(String id) {
		return this.technologymessageMapper.selectByPrimaryKey(id);
	}

	public List<Technologymessage> selectByExample(TechnologymessageExample example) {
		return this.technologymessageMapper.selectByExample(example);
	}


	public int deleteByPrimaryKey(String id) {
		return this.technologymessageMapper.deleteByPrimaryKey(id);
	}

	public int updateByPrimaryKeySelective(Technologymessage record) {
		return this.technologymessageMapper.updateByPrimaryKeySelective(record);
	}


	public int updateByPrimaryKey(Technologymessage record) {
		return this.technologymessageMapper.updateByPrimaryKey(record);
	}

	public int deleteByExample(TechnologymessageExample example) {
		return this.technologymessageMapper.deleteByExample(example);
	}

	public int updateByExampleSelective(Technologymessage record, TechnologymessageExample example) {
		return this.technologymessageMapper.updateByExampleSelective(record, example);
	}


	public int updateByExample(Technologymessage record, TechnologymessageExample example) {
		return this.technologymessageMapper.updateByExample(record, example);
	}

	public int insert(Technologymessage record) {
		return this.technologymessageMapper.insert(record);
	}

	public int insertSelective(Technologymessage record) {
		return this.technologymessageMapper.insertSelective(record);
	}

    public List<TechnologymessageEx> selectList(Map<String, Object> map) {
        return this.technologymessageMapperEx.selectList(map);
    }

    public List<TechnologymessageEx> selectAppList(Map<String, Object> map) {
        return this.technologymessageMapperEx.selectAppList(map);
    }

    public TechnologymessageEx selectDetail(Map<String, Object> map) {
        return this.technologymessageMapperEx.selectDetail(map);
    }

    public List<TechnologymessageEx> selectMyList(Map<String, Object> map) {
        return this.technologymessageMapperEx.selectMyList(map);
    }

    public int cancleTops(Map<String, Object> map) {
        return this.technologymessageMapperEx.cancleTops(map);
    }

}
